home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Day Cry
/
Day Cry CD.bin
/
oh_towns
/
taropyon
/
he386
/
ccisrc
/
gs_drum.c
< prev
next >
Wrap
Text File
|
1994-09-20
|
682b
|
25 lines
/*************************************************************************
* âèâYâÇâpü[âg
*-------------------------------------------------------------------------
* exGs_rymMap(<part>,<map>)
*************************************************************************/
int exGs_rymMap( char *sqr, size_t bufSiz, char *buf, int argc, char **argv )
{
int i, part;
char dat[4];
int ret;
if ( argc != 2 )
{
_PARA_ERR:
MM_setErrMsg(sqr,"[GS] 'rhythm map' error!");
return(ERR);
}
if ( (part = gs_getpart_n(atoi(argv[0]))) < 0 )
goto _PARA_ERR;
dat[0] = atoi(argv[1]);
return gs_genMML( sqr, bufSiz, buf, GS_PARTADR(part,0x401015), 1, dat );
}